package com.ruoyi.teach.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学习资料对象 nb_material
 * 
 * @author ruoyi
 * @date 2021-12-08
 */
public class NbMaterial extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 资料ID */
    private Long id;

    /** 创建人ID;老师ID */
    @Excel(name = "创建人ID;老师ID")
    private Long teacherId;

    /** 资料名称 */
    @Excel(name = "资料名称")
    private String title;

    /** 资料格式 */
    @Excel(name = "资料格式")
    private String type;

    /** 资料路径 */
    @Excel(name = "资料路径")
    private String matePath;

    /** 资料简介 */
    @Excel(name = "资料简介")
    private String intro;

    /** 状态;0->正常 1->删除 */
    @Excel(name = "状态;0->正常 1->删除")
    private Integer status;

    /** 删除标志（0代表存在;2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setMatePath(String matePath) 
    {
        this.matePath = matePath;
    }

    public String getMatePath() 
    {
        return matePath;
    }
    public void setIntro(String intro) 
    {
        this.intro = intro;
    }

    public String getIntro() 
    {
        return intro;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("teacherId", getTeacherId())
            .append("title", getTitle())
            .append("type", getType())
            .append("matePath", getMatePath())
            .append("intro", getIntro())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
